package session;

import java.io.Serializable;

/**
 * Represents an object that can be shared between many
 * different projects.
 * 
 * @author Richard
 * @deprecated
 */
public abstract class SharableObject implements Serializable {

	private static final long serialVersionUID = -1343878883603429608L;

	/*
	 * The name of the project that owns this object.
	 */
	protected String owner;
	
	/*
	 *  True if this object can be used by projects other
	 *  than the owner.
	 */
	protected boolean shared;

	public SharableObject() {
		owner = null;
		shared = false;
	}
	
	public String getOwner() {
		return owner;
	}

	public void setOwner(String owner) {
		this.owner = owner;
	}

	public boolean isShared() {
		return shared;
	}

	public void setShared(boolean shared) {
		this.shared = shared;
	}
	
}
